<%@ Control Language="C#" AutoEventWireup="true" CodeFile="LoggedInStatus.ascx.cs" Inherits="LoggedInStatus" %>
<asp:Panel ID="pnlLoggedIn" runat="server">
You are currently logged in as
<asp:Label ID="lblUserName" runat="server" CssClass="username"></asp:Label>.
<asp:LinkButton ID="lbLogout" runat="server" OnClick="lbLogout_Click">Log out</asp:LinkButton>
    or
    <asp:LinkButton ID="lbUpdateUser" runat="server" OnClick="lbUpdateUser_Click">Update Details</asp:LinkButton></asp:Panel>
<asp:Panel ID="pnlLoggedOut" runat="server">
    You are not logged in.
    <asp:LinkButton ID="lbLogin" runat="server" OnClick="lbLogin_Click">Log in or register</asp:LinkButton></asp:Panel>
